package com.niiwoo.civet.account.dao.mapper;


import com.niiwoo.civet.account.dao.entity.ProTransactionOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProTransactionOrderMapperExt extends ProTransactionOrderMapper{
    ProTransactionOrder queryProTransactionOrderByBatchRequestNo(@Param("batchRequestNo") String batchRequestNo);
    ProTransactionOrder queryProTransactionOrderNotDelByBatchRequestNo(@Param("batchRequestNo") String batchRequestNo);
    List<Long> rollBackGuaranteeMoney();
    int updateByPrimaryKeySelectiveInitStatus(ProTransactionOrder record);
    int updateByPrimaryKeySelectiveNotDelStatus(ProTransactionOrder record);
    List<ProTransactionOrder> queryProTransactionOrderNotDelByBatch(@Param("createTime") String createTime,@Param("endTime")String endTime);

}